/* @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=sqap"); */

.App {
  width: 100%;
  height: 300vh;
  background-color: #e1f5fe;
  font-family: "Poppins", sans-serif;
}

body {
  margin: 0;
  padding: 0;
}

.login label {
  text-align: left;
  padding: 0.25rem 0;
}

.login input {
  margin: 0.5rem 0;
  padding: 1rem;
  border-radius: 10px;
}

.register label {
  text-align: left;
  padding: 0.25rem 0;
}

.register input {
  margin: 0.5rem 0;
  padding: 1rem;
  border-radius: 10px;
}

.login {
  text-align: center;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
}

.register {
  text-align: center;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
}

.auth-form-container,
.login-form,
.register-form {
  display: flex;
  flex-direction: column;
  background-color: white;
}

.auth-form-header {
  color: #003d7c;
  padding-bottom: 1rem;
}

@media screen and (min-width: 600px) {
  .auth-form-container {
    padding: 2rem;
    border: 1px solid #003d7c;
    border-radius: 10px;
    margin: 0.5rem;
  }
}

.privacy-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
}

.privacy-notice p {
  font-size: 12px;
}

.Button {
  border: none;
  background-color: #01579b;
  padding: 15px;
  margin-top: 30px;
  margin-bottom: 30px;
  border-radius: 10px;
  cursor: pointer;
  color: white;
}

.login-register-link-btn {
  background: none;
  border: none;
  color: #003d7c;
  text-decoration: underline;
  cursor: pointer;
}

.logoTitle {
  text-align: center;
  color: #e1f5fe;
}

.sidebar {
  display: flex;
  float: left;
  height: 100%;
  width: 250px;
  background-color: #0277bd;
}

.sidebarList {
  height: auto;
  padding: 0;
  margin-top: 0;
  width: 100%;
}

.sidebarList .sidebarRow {
  width: 100%;
  height: 60px;
  list-style-type: none;
  margin: 0%;
  display: flex;
  flex-direction: row;
  color: white;
  justify-content: center;
  align-items: center;
  font-family: "Poppins", sans-serif;
}

.sidebarList .sidebarRow:hover {
  cursor: pointer;
  background-color: #01579b;
  border-left: 10px solid #01579b;
}

.sidebarList #active {
  background-color: #01579b;
}

.sidebarRow #icon {
  flex: 30%;
  display: grid;
  place-items: center;
}

.sidebarRow #title {
  flex: 70%;
}

.userProfile {
  display: flex;
  float: center;
  padding-left: 2%;
}

.moduleCard {
  display: inline-block;
  width: 500px;
  padding-left: 1%;
}

.moduleCard ul {
  list-style-type: none;
}

#moduleView {
  display: inline-block;
  width: 200px;
  background: white;
  padding: 2rem;
  border: 1px solid transparent;
  border-radius: 10px;
  margin: 0.5rem;
  margin-bottom: 20px;
  transition: 0.3x;
}


#moduleView:hover {
  border-color: #01579b;
}

#moduleView button {
  border: none;
  outline: none;
  background-color: #01579b;
  color: white;
  border-radius: 10px;
  max-width: 150px;
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  cursor: pointer;
}

#createModule {
  width: 265px;
  background: transparent;
  padding: 2rem;
  border: 1px dashed #01579b;
  border-radius: 10px;
  margin: 0.5rem;
  margin-bottom: 20px;
  transition: 0.3x;
}

#createModule:hover {
  border-color: black;
  cursor: pointer;
}

/* Create Module Popup style */
.popup-box {
  position: fixed;
  background: #00000050;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

.box {
  position: relative;
  width: 70%;
  margin: 0 auto;
  height: auto;
  max-height: 70vh;
  margin-top: calc(100vh - 85vh - 20px);
  background: #fff;
  border-radius: 4px;
  padding: 20px;
  border: 1px solid #999;
  overflow: auto;
}

.box label {
  text-align: left;
  padding: 0.25rem 0;
}

.box input {
  display: inline-flex;
  margin: 0.5rem 0;
  padding: 0.4rem;
  border-radius: 10px;
}

.box select {
  display: inline-flex;
  margin: 0.5rem 0;
  padding: 0.2rem;
  border-radius: 5px;
}

.close-icon {
  content: "x";
  cursor: pointer;
  position: fixed;
  right: calc(15% - 30px);
  top: calc(100vh - 85vh - 33px);
  background: #ededed;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  line-height: 20px;
  text-align: center;
  border: 1px solid #999;
  font-size: 20px;
}

#addStudent {
  width: 500px;
  background: transparent;
  padding: 1rem;
  border: 1px dashed #01579b;
  border-radius: 10px;
  margin-bottom: 20px;
  transition: 0.3x;
}

#addStudent:hover {
  border-color: black;
  cursor: pointer;
}

#inputAddStudent {
  display: inline-flex;
  margin: 0.5rem 0;
  width: 600px;
  height: 40px;
  border-radius: 10px;
}

/* Student Enrolled Table */
#student-table {
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  min-width: 500px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

#student-table thead tr {
  background-color: #3f979b;
  color: white;
  text-align: left;
}

#student-table th,
#student-table td {
  padding: 12px 15px;
}

#student-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

#remove-student-table {
  background: none;
  color: #fa4549;
  border: 0.2px solid;
  border-radius: 15px;
  height: 30px;
  cursor: pointer;
}
